import request from '../utils/request'

const recipe={
     
    getAllRecipe(params){
        return request({
            url:'/meal/getAllMeal',
            method:'GET',
            params
        })
    },
    addRecipe(params){
       return request({
           url:'/meal/addMeal',
           method:'post',
           data:params
       })
    },
    delRecipe(params){
        return request({
            url:'/meal/delMeal',
            method:'post',
            data:params
        })
    },
    changeRecipe(params){
        return request({
            url:'/meal/updateMeal',
            method:'post',
            data:params

        })
    }
}
export default recipe
